<template>
   <view class="container">
	   
	   1
  </view>
</template>

<script>

export default {
  components: {
  
  },

  data() {
    return {
	  
    };
  },
  mounted() {
  	this.socket = uni.connectSocket({
		url:'ws://127.0.0.1:8888/ws',
		header:{
			'content-type':'application/json'
		},
		success(res){
			console.log("连接websocket服务成功",res)
		},
	})
  },

  onReady() {

  },
  created() {

	 },
  onLoad() {

  },

  methods: {

	 showPopup(type){

	 },
	 close(){
	 
	 },
	 open(){
		
	 },
 

  }
};
</script>

<style lang="scss" scoped>
.container {
  width: 100vw;
  height: 100vh;
  position: relative;
}

.bgMap {
  width: 100%;
  height: 100%;
}


.icon-container {
  position: absolute;
  bottom: 240rpx;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.icon {
  width: 30px;
  height: 30px;
  border: 2px solid white; 
  border-radius: 50%; /* 将图标变为圆形 */
  background-color: white; /* 添加白色背景 */
  overflow: hidden; /* 防止图片溢出圆形区域 */
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon image {
  max-width: 80%; /* 调整图片大小，使其适应圆形区域 */
  max-height: 80%;
}
.tabbar{
	position: fixed;
	  bottom: 0;
	  left: 0;
	  right: 0;
	  height: 50px;
	  z-index: 9999; /* 确保足够高的层级 */
}
</style>    